package com.wish.g04.financing;

import com.wish.g04.common.security.annotation.EnableCustomConfig;
import com.wish.g04.common.security.annotation.EnableRyFeignClients;
import com.wish.g04.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author tianyandong
 */
@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringCloudApplication
@ComponentScan(basePackages = {"com.wish.g04.base","com.wish.g04.financing"})
public class FinancingApplication {

    public static void main(String[] args) {
        SpringApplication.run(FinancingApplication.class,args);
        System.out.println("===========维数公寓财务管理服务启动成功=============");
    }
}
